package cn.lucky.springcloud.dao;

import cn.lucky.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lingpeng.jiang
 * @create 2021-01-20-22:41
 */
@Mapper
public interface ConfigClientDao {

    int create(Payment payment);

    Payment getPaymentById(@Param("id") Long id);

    List<Payment> queryPayment();
}
